﻿using Sgr.Application.ViewModels;
using Sgr.Domain.Entities;

namespace Sgr.DataCategories.Application.ViewModels
{
    public class InAdministrativeDivisionSearchModel : PagedRequest
    {
        /// <summary>
        /// 行政区划代码
        /// </summary>
        public string? Code { get; set; } = string.Empty;

        /// <summary>
        /// 行政区划名称
        /// </summary>
        public string? Name { get; set; } = string.Empty;

        /// <summary>
        /// 行政区划级别
        /// </summary>
        /// <remarks>1-国家，2-省，3-市，4-区县，5-乡镇街道</remarks>
        public int? Level { get; set; }

        /// <summary>
        /// 上级行政区划ID
        /// </summary>
        public long? ParentId { get; set; }

        /// <summary>
        /// 操作状态
        /// </summary>
        public EntityStates? States { get; set; }
    }
}